<?php
class Ask_supplierModel extends TransModel {

	protected $_auto = array(
        array('create_time','time',1,'function'),
        array('delivery_date','intime',3,'callback'),
        array('mano','getNO',1,'callback'), //单号
        array('update_time','time',2,'function'),
    );

	protected $_validate = array(
		//array('supplier_id','require','必须选择供应商！'), //默认情况下用正则进行验证
		array('product_id','require','产品必须！'), //默认情况下用正则进行验证
		array('number','require','数量必须！'), //默认情况下用正则进行验证
	);
	

}
?>
